﻿using System;
using System.Collections.Generic;
using System.Linq;
using Backend.JYD.Model;
using Backend.JYD.Model.Task;

namespace Backend.JYD.IDAL.Task
{
	public interface ITaskStepModel
	{
		Int64 AddTaskStepModel(TaskStepModel info);

		bool UpdateTaskStepModel(TaskStepModel info);

		TaskStepModel GetTaskStepModelByTaskStepId(Int64 taskStepId);

        IList<TaskStepModel> GetTaskStepModelByTaskStepIds(IList<Int64> taskStepIds);

        IList<TaskStepModel> GetTaskStepModelByTaskModeId(Int64 taskModeId);

        TaskStepModel GetTaskStepModelByTaskModeIdAndStepId(Int64 taskModeId, int stepId);

		PageInfo<TaskStepModel> GetTaskStepModelByPage(PageInfo page);
	}
}